package zhihui.mobile.ui.shop.address;

import java.util.List;

import zhihui.mobile.bean.shop.address.ShoppingAddress;
import zhihui.mobile.presenter.IPresenter;
import zhihui.mobile.ui.IView;

/**
 * Created by 张公铭 on 2017/8/15 0015.
 */

public interface IShopAddressManagerContract
{
    interface IShopAddressManagerView extends IView
    {
        void refreshList(List<ShoppingAddress> list);
    }

    interface IShopAddressManagerPresenter extends IPresenter
    {
        void initData();

        void delete(ShoppingAddress address);

        void setDefault(ShoppingAddress address, boolean def);
    }
}
